package com.cskaoyan.user.service;

import com.cskaoyan.user.model.request.UserLoginRequest;
import com.cskaoyan.user.model.request.UserRegisterRequest;
import com.cskaoyan.user.model.request.UserVerifyRequest;
import com.cskaoyan.user.model.response.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IUserService {

    UserRegisterResponse register(UserRegisterRequest registerRequest);

    UserVerifyResponse verify(UserVerifyRequest verifyRequest);

    UserLoginResponse login(UserLoginRequest loginRequest, HttpServletResponse response);

    CheckLoginResponse checkLogin(HttpServletRequest request);

    LogoutResponse logout(HttpServletResponse response);
}
